import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path:"/",
    redirect:"/faxianmusic"
  },
  {
    path: '/faxianmusic',
    name: 'faxianmusic',
    component: () => import('../views/faxianmusic/faxianmusic.vue')
  },
  {
    path: '/sirenfm',
    name: 'sirenfm',
    component: () => import('../views/sirenfm/sirenfm.vue')
  },
  {
    path: '/video',
    name: 'video',
    component: () => import('../views/video/video.vue')
  },
  {
    path: '/dongtai',
    name: 'dongtai',
    component: () => import('../views/dongtai/dongtai.vue')
  },
  {
    path: '/bendimusic',
    name: 'bendimusic',
    component: () => import('../views/bendimusic/bendimusic.vue')
  },
  {
    path: '/download',
    name: 'download',
    component: () => import('../views/download/download.vue')
  }
]
const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
